﻿#region Using
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;
#endregion Using

namespace LloydGame
{
    public class GamePointLight : GameLight
    {
        // constructor
        public GamePointLight(Game p_game, Vector3 p_position, float p_falloffStart, float p_falloffEnd, Vector3 p_color, int p_shadowMapSize)
            : base(p_game, p_position, p_falloffStart, p_falloffEnd, p_color, p_shadowMapSize)
        {
            if (p_shadowMapSize > 0)
            {
                m_shadowMap = new PointLightShadowMap(p_game, p_shadowMapSize);
            }
        }
    }
}
